<script setup lang="ts">
  // This starter template is using Vue 3 <script setup> SFCs
  // Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
  function add() {
    console.log(223)
    console.log(223)
    const obj = {
      a: 'ddd',
      b: 2,
      c: 3,
    }
  }
</script>

<template>
  <div>
    <el-button>
      <router-link tag="span" to="/">helloworld</router-link>
    </el-button>
    <el-button>
      <router-link tag="span" to="/home">home</router-link>
    </el-button>
    <router-view />
  </div>
</template>

<style>
  #app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
    width: 200px;
    border: 1px solid #000;
  }

  a {
    text-decoration: none;
  }
</style>
